package com.netposa.datawarehouse.statistics.vo;

public class MockMachineState {
   private String name;
   private String cpu;
   private String disk;
   private String gpu;
   private String memory;
   private String networkdownware;
   private String networkupware;

   public String getName() {
      return this.name;
   }

   public String getCpu() {
      return this.cpu;
   }

   public String getDisk() {
      return this.disk;
   }

   public String getGpu() {
      return this.gpu;
   }

   public String getMemory() {
      return this.memory;
   }

   public String getNetworkdownware() {
      return this.networkdownware;
   }

   public String getNetworkupware() {
      return this.networkupware;
   }

   public void setName(String name) {
      this.name = name;
   }

   public void setCpu(String cpu) {
      this.cpu = cpu;
   }

   public void setDisk(String disk) {
      this.disk = disk;
   }

   public void setGpu(String gpu) {
      this.gpu = gpu;
   }

   public void setMemory(String memory) {
      this.memory = memory;
   }

   public void setNetworkdownware(String networkdownware) {
      this.networkdownware = networkdownware;
   }

   public void setNetworkupware(String networkupware) {
      this.networkupware = networkupware;
   }

   public boolean equals(Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof MockMachineState)) {
         return false;
      } else {
         MockMachineState other = (MockMachineState)o;
         if (!other.canEqual(this)) {
            return false;
         } else {
            label95: {
               Object this$name = this.getName();
               Object other$name = other.getName();
               if (this$name == null) {
                  if (other$name == null) {
                     break label95;
                  }
               } else if (this$name.equals(other$name)) {
                  break label95;
               }

               return false;
            }

            Object this$cpu = this.getCpu();
            Object other$cpu = other.getCpu();
            if (this$cpu == null) {
               if (other$cpu != null) {
                  return false;
               }
            } else if (!this$cpu.equals(other$cpu)) {
               return false;
            }

            Object this$disk = this.getDisk();
            Object other$disk = other.getDisk();
            if (this$disk == null) {
               if (other$disk != null) {
                  return false;
               }
            } else if (!this$disk.equals(other$disk)) {
               return false;
            }

            label74: {
               Object this$gpu = this.getGpu();
               Object other$gpu = other.getGpu();
               if (this$gpu == null) {
                  if (other$gpu == null) {
                     break label74;
                  }
               } else if (this$gpu.equals(other$gpu)) {
                  break label74;
               }

               return false;
            }

            label67: {
               Object this$memory = this.getMemory();
               Object other$memory = other.getMemory();
               if (this$memory == null) {
                  if (other$memory == null) {
                     break label67;
                  }
               } else if (this$memory.equals(other$memory)) {
                  break label67;
               }

               return false;
            }

            Object this$networkdownware = this.getNetworkdownware();
            Object other$networkdownware = other.getNetworkdownware();
            if (this$networkdownware == null) {
               if (other$networkdownware != null) {
                  return false;
               }
            } else if (!this$networkdownware.equals(other$networkdownware)) {
               return false;
            }

            Object this$networkupware = this.getNetworkupware();
            Object other$networkupware = other.getNetworkupware();
            if (this$networkupware == null) {
               if (other$networkupware != null) {
                  return false;
               }
            } else if (!this$networkupware.equals(other$networkupware)) {
               return false;
            }

            return true;
         }
      }
   }

   protected boolean canEqual(Object other) {
      return other instanceof MockMachineState;
   }

   public int hashCode() {
      
      int result = 1;
      Object $name = this.getName();
      result = result * 59 + ($name == null ? 43 : $name.hashCode());
      Object $cpu = this.getCpu();
      result = result * 59 + ($cpu == null ? 43 : $cpu.hashCode());
      Object $disk = this.getDisk();
      result = result * 59 + ($disk == null ? 43 : $disk.hashCode());
      Object $gpu = this.getGpu();
      result = result * 59 + ($gpu == null ? 43 : $gpu.hashCode());
      Object $memory = this.getMemory();
      result = result * 59 + ($memory == null ? 43 : $memory.hashCode());
      Object $networkdownware = this.getNetworkdownware();
      result = result * 59 + ($networkdownware == null ? 43 : $networkdownware.hashCode());
      Object $networkupware = this.getNetworkupware();
      result = result * 59 + ($networkupware == null ? 43 : $networkupware.hashCode());
      return result;
   }

   public String toString() {
      return "MockMachineState(name=" + this.getName() + ", cpu=" + this.getCpu() + ", disk=" + this.getDisk() + ", gpu=" + this.getGpu() + ", memory=" + this.getMemory() + ", networkdownware=" + this.getNetworkdownware() + ", networkupware=" + this.getNetworkupware() + ")";
   }
}
